﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="VerticalMenu.ascx.cs"
    Inherits="UserControls.VerticalMenu" %>
<div class="dha-box dha-vmenublock">
    <div class="dha-box-body dha-vmenublock-body">
        <div class="dha-box dha-vmenublockcontent">
            <div class="dha-box-body dha-vmenublockcontent-body">
                <%--BEGIN : MENU--%>
                <asp:Repeater ID="rpListParentCategory" runat="server" 
                    OnItemDataBound="rpListParentCategory_ItemDataBound">
                    <HeaderTemplate>
                        <ul class="dha-vmenu">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:HiddenField ID="hrID" runat="server" Value='<%#Eval("CategoryID") %>' />
                        <li><a href="<%--<%#Eval("Description") %>?ID=<%#Eval("CategoryID") %>--%>">
                            <%#Eval("CategoryName")%>
                        </a>
                            <asp:Repeater ID="rpListChildCategory" runat="server">
                                <HeaderTemplate>
                                    <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <li><a href="<%#Eval("Description") %>?ID=<%#Eval("CategoryID") %>"><span class="l"></span><span class="r"></span>
                                        <span class="t">
                                            <%#Eval("CategoryName")%>
                                        </span></a></li>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </ul>
                                </FooterTemplate>
                            </asp:Repeater>
                        </li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>
                    </FooterTemplate>
                </asp:Repeater>
                <%--END : MENU--%>
                <div class="cleared">
                </div>
            </div>
        </div>
        <div class="cleared">
        </div>
    </div>
</div>
<div class="cleared">
</div>
